<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="/css/index.css" rel="stylesheet" type="text/css" />
<link href="/css/public.css" rel="stylesheet" type="text/css" />
<script src="../../../js/public.js" type="text/javascript"></script>
#parse("/WEB-INF/views/base/base.html")
<title>数据字典值详情分类列表</title>
</head><body>
<form id="ListForm" name="ListForm" action='?cmd=list&parentId=$!parentId' method="post">
  <input type="hidden" name="orderBy" value="$!orderBy"/>
  <input type="hidden" name="orderType" value="$!orderType"/>
  <div class="content-right">
    <div class="content-r-pic">
      <div style="margin:8px auto auto 12px;"><img src="../../../images/systemDictionaryDetail.gif" width="138" height="17" /></div>
    </div>
    <div class="content-text">
      <div class="square-o-top">
        <table width="100%"  border="0" cellpadding="0" cellspacing="0" style="font-size:14px; font-weight:bold; font-family:"黑体";">
          <tr>
            <td width="60">字典名称</td>
            <td width="120"><input style="width:120px;border:1px solid #999;" name="name" id="name" type="text" /></td>
            <td width="300">&nbsp;</td>
            <td width="85"><input type="image" src="../../../images/can_b_01.gif" border="0" /></td>
            <td width="60"><a href="?cmd=add&parentId=$!parentId"><img src="../../../images/can_b_02.gif" border="0"/></a></td>
            <td width="60"><input type="button" onclick="window.location.href='systemDictionary.do'" value="返回上级" /></td>
          </tr>
        </table>
      </div>
      <!--"square-o-top"end-->
      <div class="square-order">
        <table width="100%"  border="0" id="listDB" cellpadding="0" cellspacing="0">
          <tr class="thead">
            <td style="width:30px">序号</td>
            <td style="width:100px; height:30px;" onclick="return doSort('name');">名称#orderPic('name')</td>
            <td style="width:100px;" onclick="return doSort('value');">数据值#orderPic('value')</td>
            <td style="width:80px;" onclick="return doSort('parent');">所属字典#orderPic('parent')</td>
            <td style="width:260px;" onclick="return doSort('intro');">简介#orderPic('intro')</td>
            <td style="width:70px;" onclick="return doSort('sequence');">显示顺序#orderPic('sequence')</td>
            <td style="width:70px;" onclick="return doSort('status');">状态#orderPic('status')</td>
            <td style="width:120px;">操作</td>
          </tr>
          #foreach($obj in ${result})
          <tr ondblclick="window.location.href='?cmd=edit&id=${obj.id}'" onmouseover="ItcastUtil.displace(this,true)" onmouseout="ItcastUtil.displace(this,false)" id="sn_$!velocityCount">
            <td>$!velocityCount</td>
            <td height="28">$!{obj.name}</td>
            <td>$!{obj.value}</td>
            <td>$!{obj.parent.name}</td>
            <td>$!{obj.intro}&nbsp;</td>
            <td>$!{obj.sequence}</td>
            <td>#if($!{obj.status}==1)<span style="color:green">正常</span> #elseif($!{obj.status}==0)<span style="color:blue">锁定</span> #elseif($!{obj.status}==-1)<span style="color:red">回收站</span>#else<span style="color:graz">未知</span>#end </td>
            </td>
            <td><img src="../../../images/icon_3.gif" /> <span style="line-height:12px; text-align:center;"><a class="xiu" href="?cmd=edit&id=${obj.id}&parentId=$!parentId">修改</a></span> <img src="../../../images/icon_04.gif" /><span style="line-height:12px; text-align:center;"><a class="xiu" href="?cmd=delete&id=$!{obj.id}&parentId=$!{obj.parent.id}" onclick="return confirm('数据删除后不能恢复,请确认!');">删除</a></td>
          </tr>
          #end
        </table>
      </div>
    </div>
    <div class="content-bbg">
      <table width="100%"  border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td>$!{bluePage}</td>
        </tr>
      </table>
    </div>
  </div>
</form>
</body>
</html>
<script type="text/javascript">window.onload = ItcastUtil.interleaved("$!pageSize");</script>